/**
 * Created by Administrator on 2017/7/21.
 */
var  headerlis=document.getElementById("headerlis");

var  lisdiv=headerlis.getElementsByTagName("div");

var samsj=document.getElementById("samsj");
headerlis.onmouseover=headerlisOverHandler;
headerlis.onmouseout=headerlisOutHandler;
function headerlisOverHandler(e) {
    if(!e){
        e=window.event;
    }
    console.log(1);
    console.log(lisdiv);
    lisdiv[0].className="help";
    samsj.className="smallsj1"
}

function headerlisOutHandler(e) {
    if(!e) {
        e=window.event
    }
    console.log(2);
    lisdiv[0].className="help1";
    samsj.className="smallsj"
}